package kr.hkit.powerjava.chapter09.work;

class Box {
	private int width;
	private int height;
	private int length;
	private int empty = 1;

	public Box(){
		
	}

	public Box(int width, int height, int length) {
		super();
		this.width = width;
		this.height = height;
		this.length = length;
	}
	public void setEmpty(int empty) {
		this.empty = empty;
		
	}

	@Override
	public String toString() {
		return "Box [width=" + width + ", height=" + height + ", length="
				+ length + ", empty=" + ((empty==1)?"비어있음":"비어있지않음") + "]";
	}

}
